package com.dykj.fireFighting.api.base.maintenance.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.dykj.fireFighting.api.base.file.entity.DataFiles;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;


/**
 * @Description 上传维修记录表（单独）
 * @Author JacksonTu
 * @Date  2021-12-27 08:49:56
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "上传维修记录表（单独）")
@TableName("up_repair_record")
public class UpRepairRecord extends Model<UpRepairRecord> {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
    @ApiModelProperty(value = "id")
	@TableId
	private String id;
	/**
	 * 维修人员
	 */
    @ApiModelProperty(value = "维修人员")
	@TableField("repair_man")
	private String repairMan;
	/**
	 * 维修人员电话
	 */
    @ApiModelProperty(value = "维修人员电话")
	@TableField("repair_man_phone")
	private String repairManPhone;
	/**
	 * 维修项目
	 */
    @ApiModelProperty(value = "维修项目")
	@TableField("overhaul_code")
	private String overhaulCode;
	/**
	 * 维修部位
	 */
    @ApiModelProperty(value = "维修部位")
	@TableField("overhaul_content_code")
	private String overhaulContentCode;

	/**
	 * 维修状态 0-已修好，1-未修好
	 */
    @ApiModelProperty(value = "维修状态 0-已修好，1-未修好")
	private String status;
	/**
	 * 现场描述
	 */
    @ApiModelProperty(value = "现场描述")
	private String describes;
	/**
	 * 现场照片
	 */
    @ApiModelProperty(value = "现场照片")
	@TableField("picture_path")
	private String picturePath;
	/**
	 * 备注
	 */
    @ApiModelProperty(value = "备注")
	private String remark;
	/**
	 * 删除标识(0未删 1已删)
	 */
    @ApiModelProperty(value = "删除标识(0未删 1已删)")
	@TableField("is_del")
	private Integer isDel;
	/**
	 * 创建时间
	 */
    @ApiModelProperty(value = "创建时间")
	@TableField("create_date")
	private Date createDate;
	/**
	 * 创建人
	 */
    @ApiModelProperty(value = "创建人")
	@TableField("create_by")
	private String createBy;
	/**
	 * 社会单位id
	 */
    @ApiModelProperty(value = "社会单位id")
	@TableField("social_units_code")
	private String socialUnitsCode;
	/**
	 * 社会单位名称
	 */
    @ApiModelProperty(value = "社会单位名称")
	@TableField("social_units_name")
	private String socialUnitsName;
	/**
	 * 维保单位id
	 */
    @ApiModelProperty(value = "维保单位id")
	@TableField("weibao_units_code")
	private String weibaoUnitsCode;

	@ApiModelProperty(value = "上传图片")
	@TableField(exist = false)
    private List<DataFiles> files;


	@TableField(exist = false)
	private String overhaulCodeName;
	@TableField(exist = false)
	private String overhaulContentCodeName;

}
